'''
Author       : Deng
Date         : 2024-04-18 18:29:23
LastEditors  : Joel
LastEditTime : 2024-05-17 10:02:41
FilePath     : \build.py
Description  : 
Copyright 2024 YiJiaLink, All Rights Reserved. 
2024-04-18 18:29:23
'''


import os
cmd = 'make clean'
res = os.popen(cmd)
output_str = res.read()   # 获得输出字符串
print(output_str)
cmd = 'make'
res = os.popen(cmd)
output_str = res.read()   # 获得输出字符串
print(output_str)